package com.hyacinth.vo;

import com.hyacinth.entity.BaseEntity;
import com.hyacinth.entity.DataItemEntity;
import com.hyacinth.entity.Resource;
import com.hyacinth.entity.ResourceRole;
import lombok.*;

import java.util.List;

/**
 * Class Description: 角色vo对象
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@ToString(callSuper = true)
public class RoleVo extends DataItemEntity {

    private static final long serialVersionUID = 1L;
    /**
     * Field description：角色人员总数
     */
    private int roleUserTotal;
    /**
     * Field description：所有的资源信息
     */
    private List<Resource> resourceList;
    /**
     * Field description：角色资源关系集合(修改的时候给页面使用)
     */
    private List<ResourceRole> roleResourceRelationList;
}
